GDK W32: Use a dumb window class for decorative windows
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 15 Mar 2016 16:10:34 +0000 (16:10 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 30 Mar 2016 09:04:46 +0000 (09:04 +0000)
commitbde5281ae811179b11e8344c8312e58698e658cb
treee46d250d19fb7b9be4e1724f83d975007995f7d8
parentcfbb8c525236f5f7b0af1e71c475be8faf450b26
GDK W32: Use a dumb window class for decorative windows

Currently only one kind of decorative window is in use - the shape
indicator that is shown when snapping windows to the edge of the screen.

When normal toplevel class is used, its window procedure expects certain
motions from GDK (passing user data to CreateWindowEx(), registering
handle in a hash map etc), and might crash if that is not done.

Dumb window doesn't require anything, it can just be.

https://bugzilla.gnome.org/show_bug.cgi?id=763013
gdk/win32/gdkwindow-win32.c